package com.d3works.apps.account.service;

import com.d3works.apps.account.db.AccountingReport;
import com.d3works.apps.base.db.Company;
import com.d3works.exception.D3worksException;
import com.d3works.meta.db.MetaFile;
import java.io.IOException;
import java.time.LocalDate;

public interface MoveLineExportService {

  public MetaFile exportMoveLine(AccountingReport accountingReport)
      throws D3worksException, IOException;

  public void replayExportMoveLine(AccountingReport accountingReport)
      throws D3worksException, IOException;

  public AccountingReport createAccountingReport(
      Company company, int exportTypeSelect, LocalDate startDate, LocalDate endDate)
      throws D3worksException;

  /**
   * Export general balance to CSV file.
   *
   * @param accountingReport
   * @return
   * @throws D3worksException
   * @throws IOException
   */
  void exportMoveLineTypeSelect1010(AccountingReport accountingReport)
      throws D3worksException, IOException;
}
